package com.hkbigdata.sybx.service;

import com.hkbigdata.sybx.mapper.ElderHealthDataMapper;
import com.hkbigdata.sybx.mapper.HeartRateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author yangjing
 * @creat 2025-05-28-11:44
 * @email 3010335359@qq.com
 */
@Service
public class HeartRateService {
    @Autowired
    private HeartRateMapper heartRateMapper;

    // 获取指定 user_id 当天心率数据
    public List<Map<String, Object>> getHeartRateByUserId(String userId) {
        return heartRateMapper.getHeartRateByUserId(userId);
    }

    // 获取指定 user_id 当天血糖数据

}